package com.ptoc.carownerservice;

public class ThreadPoolTest2 extends Thread{

    public String names;

    public ThreadPoolTest2(String name){
        this.names = name;
    }

    public void run(){
        System.out.println(names);
    }

    public static void main(String[] args) {
        //new ThreadPoolTest2("hellow 咯是啊").run();
        //new ThreadPoolTest2("hellow 咯是啊").start();
        new ThreadPoolTest4().start();
    }
}

class ThreadPoolTest4 extends Thread{

    public void run(){
        System.out.println("123");
    }
}
